# Contributor: Guy Godfroy <guy.godfroy@gugod.fr>
# Maintainer: Guy Godfroy <guy.godfroy@gugod.fr>
pkgname=gotestsum
pkgver=1.11.0
pkgrel=2
pkgdesc="Go test runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results"
url="https://github.com/gotestyourself/gotestsum"
arch="all"
license="Apache-2.0"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/gotestyourself/gotestsum/archive/refs/tags/v$pkgver.tar.gz"
options="net !check" # No check available

build() {
	go build -o dist/gotestsum .
}

package() {
	install -Dm0755 dist/* -t "$pkgdir"/usr/bin
}

sha512sums="
600845132b0f08198951239d611122eebc7ad535194717f57ce488dc1d795f09856bea08a860e25c72eb7f2a5f573f43a9ca1dec6790098f3c105d127585211e  gotestsum-1.11.0.tar.gz
"
